<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="include/base.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>My JSP 'newtask.jsp' starting page</title>
    
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">

  </head>
  
  <body class="body">
  	<%@ include file="include/top.jsp" %>
    <div class="container" >
	  <div class="row">
		<div class="span3">
			<%@include file="include/left.jsp" %>
		</div>
		<div class="span9">
		  	<form class="form-horizontal" action = "newtask.jspx" method="post">
				<fieldset>
					<legend>添加新任务</legend>
					<div class="control-group">
						<label class="control-label" >任务名称</label>
						<div class="controls">

							<input type="text" class="span5" name="name" >
						</div>
					</div>
					<div class="control-group">
						<label class="control-label">截止时间</label>
						<div class="controls">
							<input type="text" class="span5" name="endtime" >
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" >任务描述</label>
							<div class="controls">
								<textarea class="span5" rows="8" name="desc"></textarea>
							</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="multiSelect">状态</label>
						<div class="controls">
							<select id="multiSelect" name="state">
								
								<option>新任务</option>
								<option>进行中</option>
								<option>已完成</option>
							</select>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="multiSelect">级别</label>
						<div class="controls">
							<select id="multiSelect" name="level">
								
								<option>重要紧急</option>
								<option>重要不紧急</option>
								<option>紧急不重要</option>
								<option>不紧急不重要</option>
							</select>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="multiSelect">负责人</label>
						<div class="controls">
							<select id="multiSelect" name="employeename">
								<option></option>
								<option>tom</option>
								<option>rose</option>
								<option>张三</option>
								<option>李四</option>
							</select>
						</div>
					</div>
          
					<div class="form-actions">
						<button type="submit" class="btn btn-primary">保存</button>
						<a class="btn" href="task.jspx?id=${goal.id}">返回</a>
					</div>
				</fieldset>
			</form>          
        </div>
	  </div>
	</div>
  
   <script type="text/javascript" src="js/jquery.js"></script>

  </body>
</html>
